<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>test</title>
	<!-- Date: 2009-06-01 -->
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script>
	<script src="jquery.user_input.js" type="text/javascript" charset="utf-8"></script>
	<script src="test.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
	$(function() {
		setTimeout(function() {
			$('body')
				.append('<hr><p class="grid-row"><input type="text" class="required"></p>')
				.append('<p>The above input was added later. Validation rules were not really applied to it. But, type <code>$("input").check_user_input("blur")</code> on javascript console. The element is validated. :)</p>');
		}, 1500);
		});
	</script>
</head>
<body>
	<h3>Same Values</h3>
	<form action="" method="post">
		<div class="grid table">
			<div class="grid-row">
				<label class="grid-item grid-size-2_5" for="txtPassCurrent">Current Password</label>
				<input type="text" class="grid-item grid-size-3 required" id="txtPassCurrent" name="txtPassCurrent"/>
			</div>
			<div class="grid-row">
				<label class="grid-item grid-size-2_5" for="txtPassNew">New Password</label>
				<input type="password" class="grid-item grid-size-3 required" id="txtPassNew" name="txtPassNew"/>
			</div>
			<div class="grid-row">
				<label class="grid-item grid-size-2_5" for="txtPassNewSomeOther">New Password Again</label>
				<input type="password" class="grid-item grid-size-3 required" id="txtPassNewSomeOther" name="txtPassNewSomeOther"/>
			</div>
			<div class="grid-row">
				<label class="grid-item grid-size-2_5" for="txtPassRetype">Confirm Password</label>
				<input type="password" class="grid-item grid-size-3 required" id="txtPassRetype" name="txtPassRetype"/>
			</div>
		</div>
		<p class="left small actions">
			<input type="submit" value="Change my Password" id="btnNewPass" name="btnNewPass"/>
		</p>
	</form>
</body>
</html>
